-
Home
-
Stripe Payment Forms by WP Simple Pay – Accept Credit Card Payments + Subscriptions with Stripe
-
4.16.0 (latest)
-
Code
-
Classes
- ApiRequestor
| Total Complexity |
107 |
| Dependencies |
32 |
| Dependents |
4 |
| Total lines |
689 |
| Lines of code |
355 |
| Logical lines of code |
198 |
| Comment lines |
216 |
| Methods |
22 |
| Properties |
7 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| _prepareRequest() |
B |
38 |
18 |
66 |
| _specificV1APIError() |
A |
48 |
14 |
28 |
| _specificOAuthError() |
A |
54 |
8 |
19 |
| _specificV2APIError() |
S |
54 |
6 |
20 |
| _encodeObjects() |
S |
55 |
6 |
19 |
| handleErrorResponse() |
S |
56 |
6 |
16 |
| _formatAppInfo() |
S |
60 |
6 |
13 |
| _defaultHeaders() |
S |
50 |
5 |
27 |
| _interpretResponse() |
S |
58 |
5 |
13 |
| _requestRaw() |
S |
52 |
4 |
24 |
| _requestRawStreaming() |
S |
53 |
4 |
23 |
| _telemetryJson() |
S |
57 |
3 |
17 |
| requestStream() |
S |
64 |
4 |
9 |
| _processResourceParam() |
S |
60 |
3 |
14 |
| request() |
S |
63 |
3 |
9 |
| _isDisabled() |
S |
65 |
3 |
9 |
| __construct() |
S |
68 |
2 |
8 |
| httpClient() |
S |
71 |
2 |
6 |
| streamingHttpClient() |
S |
71 |
2 |
6 |
| setHttpClient() |
S |
80 |
1 |
3 |
| setStreamingHttpClient() |
S |
80 |
1 |
3 |
| resetTelemetry() |
S |
80 |
1 |
3 |